9b0d85464d6b392c5e556660f5e920385f68aa5e,codeInsight/impl/com/intellij/codeInsight/daemon/impl/quickfix/CreateMethodFromUsageAction.java,CreateMethodFromUsageAction,isAvailableImpl,#number#,32

Before Change


  }

  protected boolean isAvailableImpl(int offset) {
    PsiReferenceExpression ref = getMethodCall().getMethodExpression();
    String name = ref.getReferenceName();

    if (name == null || !ref.getManager().getNameHelper().isIdentifier(name)) return false;

After Change


  }

  protected boolean isAvailableImpl(int offset) {
    final PsiMethodCallExpression call = getMethodCall();
    if (call == null) return false;
    PsiReferenceExpression ref = call.getMethodExpression();
    String name = ref.getReferenceName();